From 3ac830966eba781e3cb332c6b26a8caed793bbb6 Mon Sep 17 00:00:00 2001 From: robertl Date: Thu, 8 Aug 2002 23:50:20 +0000 Subject: [PATCH] Allow global descriptors (as in Groundspeak example(. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@14 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/gpx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpsbabel/gpx.c b/gpsbabel/gpx.c index 743fe869c..6ee4e2a36 100644 --- a/gpsbabel/gpx.c +++ b/gpsbabel/gpx.c @@ -129,7 +129,7 @@ gpx_cdata(void *dta, const XML_Char *s, int len) if (in_name && in_wpt) { wpt_tmp->shortname = foo; } - if (in_desc) { + if (in_desc && in_wpt) { wpt_tmp->description = foo; } if (in_ele) { -- 2.30.2